package com.blb.zycommunity.mapper;

import com.blb.zycommunity.entity.SysMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 菜单权限表 Mapper 接口
 * </p>
 *
 * @author chenheng
 * @since 2023-11-20
 */
public interface SysMenuMapper extends BaseMapper<SysMenu> {

    /**
     * 一级菜单
     */
    List<SysMenu> selectSysMenuWithChild(String userName);

    /**
     * 查询全部的Menu
     */
    List<SysMenu> selectAllSysMenu(String menuName,String status);

}
